home *** CD-ROM | disk | FTP | other *** search
/ Shareware Overload Trio 2 / Shareware Overload Trio Volume 2 (Chestnut CD-ROM).ISO / dir27 / ds3d401a.zip / INSTALL.BAT < prev   
DOS Batch File  |  1994-03-28  |  7KB  |  239 lines

  1. echo off
  2. if not .%1.==.. goto e
  3. goto c
  4. :e
  5. if .%3.==.qqq. goto f
  6. if .%3.==.QQQ. goto f
  7. if .%1.==.bbs. goto d
  8. if .%1.==.BBS. goto d
  9. if .%1.==.Bbs. goto d
  10. if not .%2.==.. goto a
  11. goto exit
  12. :c
  13. cls
  14. echo                       WELCOME TO DEEP SPACE 3-D, VERSION 4.01
  15. echo 
  16. echo  Deep Space 3-D is distributed in three self-extracting archive files called
  17. echo 
  18. echo       DS1of3.EXE, DS2of3.EXE, and DS3of3.EXE (with SST02.EXE if registered)
  19. echo 
  20. echo  INSTALL.BAT is included in the DS1of3.EXE archive, but it may also have been 
  21. echo  included as a separate file.
  22. echo 
  23. echo  Since DEEP SPACE 3-D is shareware, you may have received it in various forms. 
  24. echo  If you got the program from a primary source (directly from David Chandler Co.
  25. echo  or from a Shareware Distributor) it came on one high density disk (unless 
  26. echo  low density was requested), with INSTALL.BAT included externally.  If you got
  27. echo  it from a BBS you probably received only the three archived files.  If you
  28. echo  received it from a friend, you may have received it either way, or as a
  29. echo  collection of loose files.
  30. echo 
  31. echo  If you did not receive the program in archive form neither you nor we know
  32. echo  what you have nor what condition it is in.  Send $5 to David Chandler Co.,
  33. echo  P.O. Box 309, La Verne, CA 91750 for a clean copy of the unregistered program,
  34. echo  or send $89 for a registered program, or write for a brochure.
  35. echo 
  36. pause
  37. cls
  38. echo 
  39. echo                                  EXPLANATION
  40. echo 
  41. echo  DEEP SPACE 3-D requires a hard drive.  Installation requires 4 to 5 Megabytes
  42. echo  of disk space, depending on whether SST02.EXE and DSGS.EXE are installed.
  43. echo 
  44. echo  DEEP SPACE 3-D can be run with all files in a single directory, but this is
  45. echo  not recommended.  As files are added by the user or created by the program
  46. echo  the directory can become quite cluttered.  It is better to organize the files
  47. echo  into sub-directories.
  48. echo 
  49. echo  INSTALL.BAT will create the sub-directories you need and copy the files to the
  50. echo  correct directories.
  51. echo 
  52. pause
  53. cls
  54. echo 
  55. echo                                 INSTRUCTIONS
  56. echo  ------------------------------------------------------------------------------
  57. echo  CASE 1:  If you are installing from floppy drive A: and you want to create a
  58. echo  base directory called DSVER4 on hard drive C:,
  59. echo 
  60. echo      Type:         A:                 (Followed by a carriage return)
  61. echo      then type:    INSTALL DSVER4 C:    (Followed by a carriage return)
  62. echo 
  63. echo  (Follow the same pattern if you use a different floppy drive, a different hard
  64. echo  drive, and/or a different base directory name.)
  65. echo  ------------------------------------------------------------------------------
  66. echo  CASE 2:  If you got DS1of3.EXE, DS2of3.EXE, and DS3of3.EXE from a BBS, copy
  67. echo  all three files to the directory you want to use as the base directory.  Move
  68. echo  to that directory.  Type DS1of3, then type DS2of3, then type DS3of3 to expand
  69. echo  the archive files.  Then ...
  70. echo 
  71. echo      Type:         INSTALL BBS        (Followed by a carriage return)
  72. echo 
  73. echo  (This will create the appropriate sub-directories and move the files.)
  74. echo  ------------------------------------------------------------------------------
  75. echo  (Be sure you type a colon after the drive letter and include spaces as shown)
  76. goto exit
  77. :a
  78. cls
  79. md %2\%1
  80. md %2\%1\dsfiles
  81. md %2\%1\dsdata
  82. md %2\%1\share
  83. copy install.bat %2\%1\share
  84. copy ds1of3.exe %2\%1\share
  85. %2\%1\share\install %1 %2 qqq
  86. :f
  87. rem Re-start Point
  88. cls
  89. echo 
  90. echo 
  91. echo 
  92. echo 
  93. echo   If DS2of3.EXE is on a separate disk, insert the other disk now.  Otherwise...
  94. echo 
  95. echo 
  96. pause
  97. cls
  98. echo 
  99. echo 
  100. echo 
  101. echo 
  102. echo   (Transfering DS2of3.EXE to hard disk)
  103. copy ds2of3.exe %2\%1\share
  104. cls
  105. echo 
  106. echo 
  107. echo 
  108. echo 
  109. echo   If DS3of3.EXE is on a separate disk, insert the other disk now.  Otherwise...
  110. echo 
  111. echo 
  112. pause
  113. cls
  114. echo 
  115. echo 
  116. echo 
  117. echo 
  118. echo   (Transfering DS3of3.EXE to hard disk)
  119. copy ds3of3.exe %2\%1\share
  120. cls
  121. echo 
  122. echo 
  123. echo 
  124. echo 
  125. echo   If you have registered your copy of DS3D you should have a file named
  126. echo   SST02.EXE.  Insert the disk with SST02.EXE now.  Otherwise...
  127. echo 
  128. echo 
  129. pause
  130. cls
  131. echo 
  132. echo 
  133. echo 
  134. echo 
  135. echo   (Transfering SST02.EXE to hard disk)
  136. copy sst02.exe %2\%1\dsdata
  137. cls
  138. echo 
  139. echo 
  140. echo 
  141. echo 
  142. echo   If you have registered your copy of DS3D you should have a file named
  143. echo   DSGS.EXE.  Insert the disk with DSGS.EXE now.  Otherwise...
  144. echo 
  145. echo 
  146. pause
  147. cls
  148. echo 
  149. echo 
  150. echo 
  151. echo 
  152. echo   (Transfering DSGS.EXE to hard disk)
  153. copy dsgs.exe %2\%1
  154. cls
  155. %2
  156. cd \%1\dsdata
  157. sst02
  158. cls
  159. del sst02.exe
  160. cls
  161. cd ..
  162. dsgs
  163. del dsgs.exe
  164. cls
  165. rem extract: local directories already made
  166. share\ds1of3
  167. cd dsdata
  168. ..\share\ds2of3
  169. cd ..
  170. share\ds3of3
  171. copy convert.exe dsfiles
  172. del convert.exe
  173. copy sst01 dsdata
  174. del sst01
  175. copy *.acf dsfiles
  176. del *.acf
  177. copy site.fil dsfiles
  178. del site.fil
  179. goto g
  180. :d
  181. cls
  182. rem make local directories without extracting
  183. md dsfiles
  184. md dsdata
  185. md share
  186. pause
  187. rem distribute (for BBS)
  188. copy install.bat share
  189. copy ds1of3.exe share
  190. del ds1of3
  191. copy ds2of3.exe share
  192. del ds2of3
  193. copy ds3of3.exe share
  194. del ds3of3
  195. copy *.dat dsdata
  196. del *.dat
  197. copy sst01 dsdata
  198. del sst01
  199. pause
  200. copy convert.exe dsfiles
  201. del convert.exe
  202. copy *.acf dsfiles
  203. del *.acf
  204. copy site.fil dsfiles
  205. del site.fil
  206. goto h
  207. :g
  208. cls
  209. echo 
  210. echo 
  211. echo 
  212. echo 
  213. echo 
  214. echo 
  215. echo                              Installation is now complete
  216. echo 
  217. if .%1.==.. goto h
  218. echo           The main program files are on: %2\%1
  219. echo          Star and NGC data files are on: %2\%1\dsdata
  220. echo    Files modified by the program are on: %2\%1\dsfiles
  221. echo  Files to share with other users are on: %2\%1\share
  222. echo 
  223. goto k
  224. :h
  225. echo           The main program files are on: [current directory]
  226. echo          Star and NGC data files are on: [current directory]\dsdata
  227. echo    Files modified by the program are on: [current directory]\dsfiles
  228. echo  Files to share with other users are on: [current directory]\share
  229. echo 
  230. :k
  231. echo  To save space you may want to copy the SHARE subdirectory to floppy disks and
  232. echo  remove it from the hard drive.  Please share the program in archive form only.
  233. echo 
  234. echo                             Type DS3D to start the program.
  235. echo 
  236. echo 
  237. echo 
  238. :exit
  239.